package com.c.ctgproject.entity.guang

import java.io.Serializable

class CheckUserAdminEntity {
    /**
     * status : 0
     * msg : null
     * data : [{"userId":1310,"realName":"张昌富","roleCodes":null,"roleName":"普通业务员","telephone":"15261804032","departmentId":"429","departmentName":"后勤","isResponseman":true,"imageUrl":null,"status":0,"labelName":null,"positionLabelId":null,"userNo":"","isCompanyAdmin":false,"isCompanyCreator":false,"totalNum":null,"leftNum":null,"doInfinite":null},{"userId":2045,"realName":"博文","roleCodes":null,"roleName":"普通业务员","telephone":"14400005555","departmentId":"411","departmentName":"生产部","isResponseman":true,"imageUrl":null,"status":0,"labelName":null,"positionLabelId":null,"userNo":"","isCompanyAdmin":false,"isCompanyCreator":false,"totalNum":null,"leftNum":null,"doInfinite":null}]
     */
    var status: Int? = null
    var msg: Any? = null
    var data: List<DataBean>? = null

    class DataBean : Serializable {
        /**
         * userId : 1310
         * realName : 张昌富
         * roleCodes : null
         * roleName : 普通业务员
         * telephone : 15261804032
         * departmentId : 429
         * departmentName : 后勤
         * isResponseman : true
         * imageUrl : null
         * status : 0
         * labelName : null
         * positionLabelId : null
         * userNo :
         * isCompanyAdmin : false
         * isCompanyCreator : false
         * totalNum : null
         * leftNum : null
         * doInfinite : null
         */
        var userId: Int? = null
        var realName: String? = null
        var roleCodes: Any? = null
        var roleName: String? = null
        var telephone: String? = null
        var departmentId: String? = null
        var departmentName: String? = null
        var isIsResponseman: Boolean? = null
            private set
        var imageUrl: Any? = null
        var status: Int? = null
        var labelName: Any? = null
        var positionLabelId: Any? = null
        var userNo: String? = null
        var isIsCompanyAdmin: Boolean? = null
            private set
        var isIsCompanyCreator: Boolean? = null
            private set
        var totalNum: Any? = null
        var leftNum: Any? = null
        var doInfinite: Any? = null
        fun setIsResponseman(isResponseman: Boolean?) {
            isIsResponseman = isResponseman
        }

        fun setIsCompanyAdmin(isCompanyAdmin: Boolean?) {
            isIsCompanyAdmin = isCompanyAdmin
        }

        fun setIsCompanyCreator(isCompanyCreator: Boolean?) {
            isIsCompanyCreator = isCompanyCreator
        }
    }
}